from simpy import Resource, Environment

from x_pc.core.carry import Carry


class HCTSJ(Carry):
    """
    104 换层提升机
    换层提升机(HCTSJ)
    """
    # 资源
    resource: Resource = None

    def __init__(self, env: Environment, name: str, kwargs):
        super().__init__(env, name, kwargs)
        self.resource = Resource(env)

    @staticmethod
    def device_type() -> int:
        return 104
